<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.7.0" />

	<title>Class AMFBaseDeserializer | nort</title>

	<script type="text/javascript" src="resources/combined.js?1481722677"></script>
	<script type="text/javascript" src="elementlist.js?1094816827"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?1567499433" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-App.html">App<span></span></a>
						<ul>
				<li><a href="package-App.Saas.html">Saas</a>
						</li>
				<li><a href="package-App.saas.html">saas</a>
						</li>
				<li><a href="package-App.SaaS.html">SaaS<span></span></a>
						<ul>
				<li><a href="package-App.saas.Logic.html">Logic</a>
						</li>
				<li><a href="package-App.SaaS.SaaS.html">SaaS</a>
						</li>
				<li><a href="package-App.Saas.Tables.html">Tables</a>
						</li>
				<li><a href="package-App.Saas.Vo.html">Vo</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-aqua.html">aqua<span></span></a>
						<ul>
				<li><a href="package-aqua.tools.html">tools<span></span></a>
						<ul>
				<li><a href="package-aqua.tools.Monitor.html">Monitor</a>
						</li>
							</ul></li></ul></li>
				<li class="active"><a href="package-flashservices.html">flashservices<span></span></a>
						<ul>
				<li><a href="package-flashservices.adapters.html">adapters</a>
						</li>
				<li><a href="package-flashservices.debug.html">debug</a>
						</li>
				<li><a href="package-flashservices.exception.html">exception</a>
						</li>
				<li><a href="package-flashservices.filters.html">filters</a>
						</li>
				<li class="active"><a href="package-flashservices.io.html">io</a>
						</li>
				<li><a href="package-flashservices.sql.html">sql</a>
						</li>
				<li><a href="package-flashservices.util.html">util</a>
						</li>
							</ul></li>
				<li><a href="package-Mekayotl.html">Mekayotl<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.core.html">core</a>
						</li>
				<li><a href="package-Mekayotl.database.html">database<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.database.dal.html">dal</a>
						</li>
				<li><a href="package-Mekayotl.database.mysql.html">mysql</a>
						</li>
				<li><a href="package-Mekayotl.database.sqlite.html">sqlite</a>
						</li>
							</ul></li>
				<li><a href="package-Mekayotl.tools.html">tools<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.tools.render.html">render<span></span></a>
						<ul>
				<li><a href="package-Mekayotl.tools.render.html.html">html</a>
						</li>
							</ul></li>
				<li><a href="package-Mekayotl.tools.renders.html">renders</a>
						</li>
							</ul></li></ul></li>
				<li><a href="package-None.html">None</a>
						</li>
				<li><a href="package-PHP.html">PHP</a>
						</li>
				<li><a href="package-PHPMailer.html">PHPMailer</a>
						</li>
				<li><a href="package-Services.html">Services<span></span></a>
						<ul>
				<li><a href="package-Services.JSON.html">JSON</a>
						</li>
							</ul></li>
				<li><a href="package-Swift.html">Swift<span></span></a>
						<ul>
				<li><a href="package-Swift.ByteStream.html">ByteStream</a>
						</li>
				<li><a href="package-Swift.CharacterStream.html">CharacterStream</a>
						</li>
				<li><a href="package-Swift.Encoder.html">Encoder</a>
						</li>
				<li><a href="package-Swift.Events.html">Events</a>
						</li>
				<li><a href="package-Swift.KeyCache.html">KeyCache</a>
						</li>
				<li><a href="package-Swift.Mailer.html">Mailer</a>
						</li>
				<li><a href="package-Swift.Mime.html">Mime</a>
						</li>
				<li><a href="package-Swift.Plugins.html">Plugins</a>
						</li>
				<li><a href="package-Swift.Transport.html">Transport</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li class="active"><a href="class-AMFBaseDeserializer.html">AMFBaseDeserializer</a></li>
				<li><a href="class-AMFBaseSerializer.html">AMFBaseSerializer</a></li>
				<li><a href="class-AMFSerializer.html">AMFSerializer</a></li>
				<li><a href="class-CharsetHandler.html">CharsetHandler</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-flashservices.io.html" title="Summary of flashservices\io"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class AMFBaseDeserializer</h1>





	<div>
		<h4>Direct known subclasses</h4>
			<a href="class-AMFDeserializer.html">AMFDeserializer</a>
	</div>






	<div class="info">
		
		
		
		<b>Package:</b> <a href="package-flashservices.html">flashservices</a>\<a href="package-flashservices.io.html">io</a><br />

				<b>Copyright:</b>
				(c) 2003 amfphp.org<br />
				<b>License:</b>
				<a href="http://opensource.org/licenses/gpl-license.php">GNU Public License</a><br />
		<b>Located at</b> <a href="source-class-AMFBaseDeserializer.html#20" title="Go to source code">lib/php/externals/amfphp/core/amf/io/AMFBaseDeserializer.php</a><br />
	</div>


	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="AMFBaseDeserializer" id="_AMFBaseDeserializer">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_AMFBaseDeserializer">#</a>
		<code><a href="source-class-AMFBaseDeserializer.html#109" title="Go to source code">AMFBaseDeserializer</a>( <span>object <var>$rd</var></span> )</code>

		<div class="description short">
			
<p>Constructor method for the deserializer. Constructing the deserializer
converts the input stream content to a AMFObject.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Constructor method for the deserializer. Constructing the deserializer
converts the input stream content to a AMFObject.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$rd</var></dt>
					<dd><code>object</code><br>$is The referenced input stream</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="deserialize" id="_deserialize">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_deserialize">#</a>
		<code><a href="source-class-AMFBaseDeserializer.html#130" title="Go to source code">deserialize</a>( <span>object <var>&amp; $amfdata</var></span> )</code>

		<div class="description short">
			
<p>deserialize invokes this class to transform the raw data into valid
object</p>

		</div>

		<div class="description detailed hidden">
			
<p>deserialize invokes this class to transform the raw data into valid
object</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$amfdata</var></dt>
					<dd><code>object</code><br> The object to put the deserialized data in</dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="getAMFObject" id="_getAMFObject">

		<td class="attributes"><code>
			 public 
			object
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getAMFObject">#</a>
		<code><a href="source-class-AMFBaseDeserializer.html#149" title="Go to source code">getAMFObject</a>( )</code>

		<div class="description short">
			
<p>returns the built AMFObject from the deserialization operation</p>

		</div>

		<div class="description detailed hidden">
			
<p>returns the built AMFObject from the deserialization operation</p>




				<h4>Returns</h4>
				<div class="list">
					<code>object</code><br>The deserialized AMFObject<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="decodeCallback" id="_decodeCallback">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_decodeCallback">#</a>
		<code><a href="source-class-AMFBaseDeserializer.html#159" title="Go to source code">decodeCallback</a>( <span> <var>$event</var></span>, <span> <var>$arg</var></span> )</code>

		<div class="description short">
			
<p>Decode callback is triggered when an object is encountered on decode</p>

		</div>

		<div class="description detailed hidden">
			
<p>Decode callback is triggered when an object is encountered on decode</p>








		</div>
		</div></td>
	</tr>
	<tr data-order="readHeader" id="_readHeader">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_readHeader">#</a>
		<code><a href="source-class-AMFBaseDeserializer.html#195" title="Go to source code">readHeader</a>( )</code>

		<div class="description short">
			
<p>readHeader converts that header section of the amf message into php obects.
Header information typically contains meta data about the message.</p>

		</div>

		<div class="description detailed hidden">
			
<p>readHeader converts that header section of the amf message into php obects.
Header information typically contains meta data about the message.</p>








		</div>
		</div></td>
	</tr>
	<tr data-order="readBody" id="_readBody">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_readBody">#</a>
		<code><a href="source-class-AMFBaseDeserializer.html#238" title="Go to source code">readBody</a>( )</code>

		<div class="description short">
			
<p>readBody converts the payload of the message into php objects.</p>

		</div>

		<div class="description detailed hidden">
			
<p>readBody converts the payload of the message into php objects.</p>








		</div>
		</div></td>
	</tr>
	<tr data-order="readByte" id="_readByte">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_readByte">#</a>
		<code><a href="source-class-AMFBaseDeserializer.html#285" title="Go to source code">readByte</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="readInt" id="_readInt">

		<td class="attributes"><code>
			 public 
			integer
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_readInt">#</a>
		<code><a href="source-class-AMFBaseDeserializer.html#290" title="Go to source code">readInt</a>( )</code>

		<div class="description short">
			
<p>readInt grabs the next 2 bytes and returns the next two bytes, shifted and
combined to produce the resulting integer</p>

		</div>

		<div class="description detailed hidden">
			
<p>readInt grabs the next 2 bytes and returns the next two bytes, shifted and
combined to produce the resulting integer</p>




				<h4>Returns</h4>
				<div class="list">
					<code>integer</code><br>The resulting integer from the next 2 bytes<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="readUTF" id="_readUTF">

		<td class="attributes"><code>
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_readUTF">#</a>
		<code><a href="source-class-AMFBaseDeserializer.html#302" title="Go to source code">readUTF</a>( )</code>

		<div class="description short">
			
<p>readUTF first grabs the next 2 bytes which represent the string length. Then
it grabs the next (len) bytes of the resulting string.</p>

		</div>

		<div class="description detailed hidden">
			
<p>readUTF first grabs the next 2 bytes which represent the string length. Then
it grabs the next (len) bytes of the resulting string.</p>




				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br>The utf8 decoded string<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="readLong" id="_readLong">

		<td class="attributes"><code>
			 public 
			integer
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_readLong">#</a>
		<code><a href="source-class-AMFBaseDeserializer.html#322" title="Go to source code">readLong</a>( )</code>

		<div class="description short">
			
<p>readLong grabs the next 4 bytes shifts and combines them to produce an
integer</p>

		</div>

		<div class="description detailed hidden">
			
<p>readLong grabs the next 4 bytes shifts and combines them to produce an
integer</p>




				<h4>Returns</h4>
				<div class="list">
					<code>integer</code><br>The resulting integer from the next 4 bytes<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="readDouble" id="_readDouble">

		<td class="attributes"><code>
			 public 
			float
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_readDouble">#</a>
		<code><a href="source-class-AMFBaseDeserializer.html#335" title="Go to source code">readDouble</a>( )</code>

		<div class="description short">
			
<p>readDouble reads the floating point value from the bytes stream and properly
orders the bytes depending on the system architecture.</p>

		</div>

		<div class="description detailed hidden">
			
<p>readDouble reads the floating point value from the bytes stream and properly
orders the bytes depending on the system architecture.</p>




				<h4>Returns</h4>
				<div class="list">
					<code>float</code><br>The floating point value of the next 8 bytes<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="readLongUTF" id="_readLongUTF">

		<td class="attributes"><code>
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_readLongUTF">#</a>
		<code><a href="source-class-AMFBaseDeserializer.html#352" title="Go to source code">readLongUTF</a>( )</code>

		<div class="description short">
			
<p>readLongUTF first grabs the next 4 bytes which represent the string length.
Then it grabs the next (len) bytes of the resulting in the string</p>

		</div>

		<div class="description detailed hidden">
			
<p>readLongUTF first grabs the next 4 bytes which represent the string length.
Then it grabs the next (len) bytes of the resulting in the string</p>




				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br>The utf8 decoded string<br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="mapClass" id="_mapClass">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_mapClass">#</a>
		<code><a href="source-class-AMFBaseDeserializer.html#367" title="Go to source code">mapClass</a>( <span> <var>$typeIdentifier</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	</table>







	<table class="summary" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="raw_data" id="$raw_data">

		<td class="attributes"><code>
			public 
			string
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#23" title="Go to source code"><var>$raw_data</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$raw_data" class="anchor">#</a>

			<div class="description short">
				
<p>The raw data input</p>

			</div>

			<div class="description detailed hidden">
				
<p>The raw data input</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="current_byte" id="$current_byte">

		<td class="attributes"><code>
			public 
			integer
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#31" title="Go to source code"><var>$current_byte</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$current_byte" class="anchor">#</a>

			<div class="description short">
				
<p>The current seek cursor of the stream</p>

			</div>

			<div class="description detailed hidden">
				
<p>The current seek cursor of the stream</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="content_length" id="$content_length">

		<td class="attributes"><code>
			public 
			integer
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#39" title="Go to source code"><var>$content_length</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$content_length" class="anchor">#</a>

			<div class="description short">
				
<p>The length of the stream. Since this class is not actually using a stream the
entire content of the stream is passed in as the initial argument so the length
can be determined.</p>

			</div>

			<div class="description detailed hidden">
				
<p>The length of the stream. Since this class is not actually using a stream the
entire content of the stream is passed in as the initial argument so the length
can be determined.</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="header_count" id="$header_count">

		<td class="attributes"><code>
			public 
			integer
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#49" title="Go to source code"><var>$header_count</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$header_count" class="anchor">#</a>

			<div class="description short">
				
<p>The number of headers in the packet.</p>

			</div>

			<div class="description detailed hidden">
				
<p>The number of headers in the packet.</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="headers" id="$headers">

		<td class="attributes"><code>
			public 
			string
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#57" title="Go to source code"><var>$headers</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$headers" class="anchor">#</a>

			<div class="description short">
				
<p>The content of the packet headers</p>

			</div>

			<div class="description detailed hidden">
				
<p>The content of the packet headers</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="body_count" id="$body_count">

		<td class="attributes"><code>
			public 
			integer
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#65" title="Go to source code"><var>$body_count</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$body_count" class="anchor">#</a>

			<div class="description short">
				
<p>The number of bodys in the packet.</p>

			</div>

			<div class="description detailed hidden">
				
<p>The number of bodys in the packet.</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="body" id="$body">

		<td class="attributes"><code>
			public 
			string
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#73" title="Go to source code"><var>$body</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$body" class="anchor">#</a>

			<div class="description short">
				
<p>The content of the body elements</p>

			</div>

			<div class="description detailed hidden">
				
<p>The content of the body elements</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="amfdata" id="$amfdata">

		<td class="attributes"><code>
			public 
			object
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#81" title="Go to source code"><var>$amfdata</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$amfdata" class="anchor">#</a>

			<div class="description short">
				
<p>The object to store the amf data.</p>

			</div>

			<div class="description detailed hidden">
				
<p>The object to store the amf data.</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="inputStream" id="$inputStream">

		<td class="attributes"><code>
			public 
			object
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#89" title="Go to source code"><var>$inputStream</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$inputStream" class="anchor">#</a>

			<div class="description short">
				
<p>The instance of the amfinput stream object</p>

			</div>

			<div class="description detailed hidden">
				
<p>The instance of the amfinput stream object</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="meta" id="$meta">

		<td class="attributes"><code>
			public 
			
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#97" title="Go to source code"><var>$meta</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$meta" class="anchor">#</a>

			<div class="description short">
				
<p>metaInfo</p>

			</div>

			<div class="description detailed hidden">
				
<p>metaInfo</p>


			</div>
		</div></td>
	</tr>
	<tr data-order="storedStrings" id="$storedStrings">

		<td class="attributes"><code>
			public 
			
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#102" title="Go to source code"><var>$storedStrings</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$storedStrings" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="storedObjects" id="$storedObjects">

		<td class="attributes"><code>
			public 
			
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#103" title="Go to source code"><var>$storedObjects</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$storedObjects" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="storedDefinitions" id="$storedDefinitions">

		<td class="attributes"><code>
			public 
			
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#104" title="Go to source code"><var>$storedDefinitions</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$storedDefinitions" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="amf0storedObjects" id="$amf0storedObjects">

		<td class="attributes"><code>
			public 
			
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#105" title="Go to source code"><var>$amf0storedObjects</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$amf0storedObjects" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="native" id="$native">

		<td class="attributes"><code>
			public 
			
		</code></td>

		<td class="name">
				<a href="source-class-AMFBaseDeserializer.html#107" title="Go to source code"><var>$native</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$native" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	</table>



</div>

	<div id="footer">
		nort API documentation generated by <a href="http://apigen.org">ApiGen 2.7.0</a>
	</div>
</div>
</div>
</body>
</html>
